package dolf.objects;

import java.awt.Graphics2D;
import java.awt.Color;
public class AimObject extends CircleObject implements java.io.Serializable {

	private static final long serialVersionUID = 1L;
	private final int RADIUS = 6;
	public AimObject(Point p){
		super(p,6,false,true);
		this.setCollitabe(false);
	}
	public void paint(Graphics2D g){
		Color tmp = g.getColor();
		g.setColor(Color.green);
		g.drawLine(this.getPosition().getIntX()-this.RADIUS, this.getPosition().getIntY(), this.getPosition().getIntX()+this.RADIUS, this.getPosition().getIntY());
		g.drawLine(this.getPosition().getIntX(), this.getPosition().getIntY()-this.RADIUS, this.getPosition().getIntX(), this.getPosition().getIntY()+this.RADIUS);
		g.setColor(tmp);
	}
	public boolean newMotion(WorldObject object){
		return true;
	}

}
